function f_clearInput(){
	$('#textarea1').val('');
	$('#textarea2').val('');
}

function f_countSize(){
	var req = {
			"content":$('#textarea1').val()
	}
	$.ajax({
		type : 'post',
		url : './api/v1/demo/size_count',
		cache : false,
		contentType: "application/json;charset=utf-8",
		dataType : 'json',
		data:JSON.stringify(req),
		success : function(result) {
			var size = result.size;
			$('#textarea2').val(size);
		}
	});
}